Skip to content

Conversation

@nallwhy
Copy link
Contributor

@nallwhy nallwhy commented Sep 19, 2016

MutationObserver is used to observe the change of years.
When '.js-contribution-graph' is added, isometric graph will be regenerated again.

To prevent side effect of regenerating, resetValues() function is added.

@nallwhy nallwhy changed the title Show isometric graph after changing years Show isometric chart after changing years Sep 19, 2016
@jasonlong
Copy link
Owner

Nice! This seems to work really well. ❤️

@jasonlong jasonlong merged commit 4bb2ae2 into jasonlong:master Sep 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants